import 'package:flutter/widgets.dart';
import 'package:mobile_app.core/core/presentation/theme/theme.dart';
import 'package:mobile_app.core/core/presentation/utils/icons/custom_regular_icons.dart';
import 'package:mobile_app.core/core/presentation/widget_config.dart';

class TileTrailingCheck extends StatelessWidget {
  const TileTrailingCheck({
    this.width = kTileTrailingCheckWidth,
    super.key,
  });

  final double width;

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: width,
      child: Center(
        child: Icon(
          CustomRegularIcons.check,
          size: 24,
          color: CoreTheme.of(context).primaryColor,
        ),
      ),
    );
  }
}
